package org.jeecg.modules.vx.student.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author li
 * @since 2021-08-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("exam_student")
@ApiModel(value="Student对象", description="")
public class Student implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID,存UUID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "学生名称")
    private String studentName;

    @ApiModelProperty(value = "用户头像地址，如果没有要设置一个默认头像。")
    private String studentPortrait;

    @ApiModelProperty(value = "学生性别，数据字典（1、男2、女 默认男）")
    private String studentSex;

    @ApiModelProperty(value = "账户：默认使用手机号")
    private String studentAccount;

    @ApiModelProperty(value = "密码：默认密码为手机号后6位")
    private String studentPasswrod;

    @ApiModelProperty(value = "手机号")
    private String studentPhone;

    @ApiModelProperty(value = "邮箱")
    private String studentEmail;

    @ApiModelProperty(value = "微信openid")
    private String studentOpenid;

    @ApiModelProperty(value = "学生所属班级id")
    private String studentClassId;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


}
